package com.kuangstudy.io.print;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.PrintStream;

/**
 * ClassName: UnsafeBuyTicket
 * date: 2021/07/16 23:04:09
 *
 * @author zlk
 */
public class Demo1 {
    public static void main(String[] args) throws FileNotFoundException {
        PrintStream ps = new PrintStream("e:\\print.txt");
        ps.write(97);
        ps.println("aaa");
        ps.println(97);
        ps.println(12);
        ps.println(true);
        ps.close();

    }
}
